﻿using System;

namespace Kindler.IO.MobiFile
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class MobiPropertyAttribute : Attribute
    {
        public int PropertyIndex { get; private set; }

        public int LengthInBytes { get; set; }

        public string LengthProperty { get; set; }

        public MobiPropertyAttribute(int propertyIndex)
        {
            this.PropertyIndex = propertyIndex;
        }
    }
}